package com.bicon.botu.mall.order.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.bicon.botu.core.base.repository.mybatis.UuidBaseEntity;

/**
 * 发票实体类
 * @author 李双喜
 * @since 2018-05-14
 */
@TableName("invoice")
public class Invoice extends UuidBaseEntity<Invoice> {

    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
	@TableField("user_id")
	private String userId;
    /**
     * 发票类型  0 普通发票  1 电子普通发票
     */
	private Integer type;
    /**
     * 发票抬头  0 个人  1 企业
     */
	private Integer head;
    /**
     * 发票内容  0 商品明细  1 商品分类
     */
	private Integer content;
    /**
     * 公司名称
     */
	@TableField("company_name")
	private String companyName;
    /**
     * 是否为默认  0非默认  1默认
     */
	private Integer state;
    /**
     * 18位纳税号码
     */
	@TableField("rate_number")
	private String rateNumber;
    /**
     * 收票人邮箱
     */
	@TableField("check_taker_mail")
	private String checkTakerMail;
    /**
     * 收票人手机号码
     */
	@TableField("check_taker_phone")
	private String checkTakerPhone;


	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getHead() {
		return head;
	}

	public void setHead(Integer head) {
		this.head = head;
	}

	public Integer getContent() {
		return content;
	}

	public void setContent(Integer content) {
		this.content = content;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public String getRateNumber() {
		return rateNumber;
	}

	public void setRateNumber(String rateNumber) {
		this.rateNumber = rateNumber;
	}

	public String getCheckTakerMail() {
		return checkTakerMail;
	}

	public void setCheckTakerMail(String checkTakerMail) {
		this.checkTakerMail = checkTakerMail;
	}

	public String getCheckTakerPhone() {
		return checkTakerPhone;
	}

	public void setCheckTakerPhone(String checkTakerPhone) {
		this.checkTakerPhone = checkTakerPhone;
	}


}
